﻿using System;
using winS.Unity.Process;

namespace winS.UnityEditor.ProcessEditor
{
    /// <summary>
    /// 指示被修饰的 <see cref="StepNode"/> 应该和哪种 <see cref="Process"/> 关联
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
    public class CustomProcessAttribute : Attribute
    {
        public readonly Type processSubclassType;

        public CustomProcessAttribute(Type processSubclassType)
        {
            this.processSubclassType = processSubclassType;
        }
    }
}